/*
 * Filename:    DrugStoreIntgrityDao.java
 * Copyright:   2015 中国平安保险（集团）股份有限公司 版权所有
 * Company:     平安科技养老险及健康险系统开发部
 * Create at:   2015-2-12
 */
package com.paic.mhis.hcpms.evaluation.evaluationDrugStore.drugStoreIntegrity.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.paic.mhis.hcpms.evaluation.evaluationOrg.evaluationIntegrity.dto.EvaluationOrgDTO;
import com.paic.pafa.biz.dao.BaseDAO;

@Component("drugStoreIntgrityDao")
public class DrugStoreIntgrityDao extends BaseDAO {

	/**
	 * 定点药店诚信List查询
	 */

	public List<EvaluationOrgDTO> getDrugStoreList(Map<String, Object> map) {
		return (List<EvaluationOrgDTO>) this._queryForList("drugStore.getDrugStoreList", map);
	}

	/**
	 * 根据年份查询当前需要展示的考评得分名称集合
	 */

	public List<String> getEvaluationName(Map<String, Object> map) {
		return (List<String>) this._queryForList("drugStore.getEvaluationName", map);
	}

	/**
	 * 查询考评得分
	 */

	public List<String> getEvaluationScore(Map<String, Object> map) {

		return (List<String>) this._queryForList("drugStore.getEvaluationScore", map);
	}

	/**
	 * 查询考评药店总数
	 */

	public int getDrugStoreListCount(Map<String, Object> condition) {
		int count = this._getInt("drugStore.getDrugStoreListCount", condition);
		return count;
	}

}
